<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>flex 双飞翼练习</title>
    <style>
        .container{
            background-color: #00FF00;
            display: flex;
        }
        .container .aside{
            width: 300px;
            height: 100vh;
            background-color: #1a8f90;
            flex-shrink: 0;
        }
        .container .main{
            width: 300px;
            height: 100vh;
            background-color: #ffe899;
            flex-grow: 1;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="aside">不放大也不缩小</div>
        <div class="main">会放大也会缩小</div>
        <div class="aside">不放大也不缩小</div>
    </div>
</body>
</html>